wayland: Invert drop_finished/button release call order
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 1 Dec 2015 14:11:52 +0000 (15:11 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 1 Dec 2015 14:49:13 +0000 (15:49 +0100)
commit1a394bd5ec6ba489eed260bfbec91158e24213e3
treed03611c802bbcf58bfdcac94543c9505301808be
parent0ad927adca0b0fd471d2a6e89c9abd0b5ab4a712
wayland: Invert drop_finished/button release call order

If we "release" the button first, the drag will be eventually cancelled,
we must first signal GDK_DROP_FINISHED, and then release the button so
the success status prevails.
gdk/wayland/gdkselection-wayland.c